package com.comcast.core.eeg.eventpublication.service;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.comcast.core.eeg.eventpublication.types.PublicationOption;
import com.comcast.core.eeg.types.BusinessEvent;
import com.comcast.core.eeg.types.Event;
import com.comcast.core.eeg.types.Participant;
import com.comcast.core.eeg.types.Result;


public class EventPublicationServiceImpl implements EventPublicationService {

    private static Log logger = LogFactory.getLog(EventPublicationServiceImpl.class);

	@Override
	public Result publish(Participant participant, BusinessEvent event,	PublicationOption option) {
    	if(logger.isDebugEnabled()) {
    		logger.debug("Participant:"+participant+"-BusinessEvent:"+event+"-PublicationOption:"+option);
    	}

		return null;
	}

	@Override
	public Result batchPublish(Participant participant, BusinessEvent[] events, PublicationOption option) {
    	if(logger.isDebugEnabled()) {
    		logger.debug("Participant:"+participant+"-BusinessEvent:"+events+"-PublicationOption:"+option);
    	}

		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Result publish(Participant participant, Event event, PublicationOption option) {
    	if(logger.isDebugEnabled()) {
    		logger.debug("Participant:"+participant+"-Event:"+event+"-PublicationOption:"+option);
    	}

		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Result batchPublish(Participant participant, Event[] events, PublicationOption option) {
    	if(logger.isDebugEnabled()) {
    		logger.debug("Participant:"+participant+"-Event:"+events+"-PublicationOption:"+option);
    	}

    	
		// TODO Auto-generated method stub
		return null;
	}
    
}
